package com.ldc.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 功能描述
 *
 * @author liudi
 * @since 2023/7/23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("article")
public class Article {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField
    private String title;
    @TableField
    private String content;
    @TableField
    private String contentUrl;
    @TableField
    private String tags;
    @TableField
    private String parentType;
    @TableField
    private String type;
    @TableField
    private String author;
    @TableField
    private String creator;
    @TableField
    private String creatorName;
    @TableField
    private String pics;
    @TableField
    private long createTime;
    @TableField
    private long changeTime;
}
